package xFGE.net
{
	import flash.events.EventDispatcher;
	
	public interface IConnection
	{
		function getEventDispatcher():Object;
		function sendCommand(...arg):void;
		function connect(arg:String):void;
		function disconnect():void;
		
		function add_onConnection_Listener(fun:Function):void;
		function login(...arg):void;
		function onReceiveMessage(fun:Function):void
//		function joinServerSuccuss_Handler(fun:Function):void;
		
	}
}